package com.liuyk.commonlib.network.request;

import java.util.HashMap;
import java.util.Map;

/**
 * 用来测试
 * <p>
 * Created by liuyakui on 2020/1/17.
 */
public class TestRequest extends BaseRequest {
    public String channel;

    public TestRequest(String url) {
        super(url);
    }

    @Override
    public Map<String, String> builderParams() {
        final HashMap<String, String> params = new HashMap<>();
        params.put("channel", channel);
        return params;
    }

    @Override
    public Map<String, String> buildHeader() {
        Map<String, String> header = new HashMap<>();
        header.put("testHeader", "testHeader");
        return header;
    }
}
